import request from "@/utils/request";

// 抽查总览
  export function overview(query) {
    return request({
      url: "/screen/spotCheck/overview",
      method: "get",
      params: query,
    });
  }

  // 近12月抽查新增数据
  export function newAddSpotCheckStatistics(query) {
    return request({
      url: "/screen/spotCheck/newAddSpotCheckStatistics",
      method: "get",
      params: query,
    });
  }
  // 抽查明细

  export function spotCheckList(query) {
    return request({
      url: "/screen/spotCheck/spotCheckList",
      method: "get",
      params: query,
    });
  }
   // 抽查未通过员工明细


   export function failStuList(query) {
    return request({
      url: "/screen/spotCheck/failStuList",
      method: "get",
      params: query,
    });
  }